home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98c.txt
/
000059_icon-group-sender _Tue Oct 13 12:03:41 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from ursus.CS.Arizona.EDU (ursus.CS.Arizona.EDU [192.12.69.63])
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) with SMTP id MAA17629
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 13 Oct 1998 12:03:39 -0700 (MST)
Received: by ursus.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA06959; Tue, 13 Oct 1998 12:03:39 -0700
Date: Tue, 13 Oct 1998 08:55:44 -0700
From: kwalker@sfo.harbinger.com (Ken Walker)
Message-Id: <199810131555.IAA14201@varda.premenos.com>
To: icon-group@optima.CS.Arizona.EDU
Subject: Re: A problem with sets
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: L/oU4NJMqzn8KoQZH9RneQ==
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Content-Transfer-Encoding: 7bit
Status: RO
I'm not sure I understand exactly what infomation you want to associate
with the string values, but I would suggest using tables instead of
sets. Use the string value as the table key and assign the assocaited
information as the table entry. When you are done putting entries
in the table, you end up with the last one for each key. You may want
to make the assocated information a record. It may be convenient to
make the string value one of the fields in the record.
Ken Walker, kenneth.walker@sfo.harbinger.com
Harbinger Coporation, Concord, Ca. 94520
> Date: Tue, 13 Oct 1998 09:44:48 +0300 (EEST)
> From: Kimmo Kettunen <kettunen@kaapeli.fi>
>
> I have a following of question. I am doing noun stem synthesis of
> Finnish with Icon. The program works fine, but due to Icon's nice
> capabilities I have been a bit sloppy with programming and can not quite
> figure out the way out of it.
>
> During the stem synthesis I have pretty many string variables which may be
> altered during the process. Part of the variables are unnecessary and
> redundant, and to prune the results I put them all in the end into a set
> structure to get rid of redundant ones. Works fine, results are OK.
>
> BUT: now I do not know excactly, which variables I get out of the set as I
> see only the results, string values of the variables.
>
> Can somebody tell me, how to get this information (I guess there is a
> way to do it, I just cant figure it out).